a=input()
b=input()
c=input()
d=input()
print(f"{a}:\\{b}\\{c}.{d}")
